/* eslint-disable */
// @ts-ignore
import { queryOptions, useMutation } from '@tanstack/vue-query';
import type { DefaultError } from '@tanstack/vue-query';
import { request } from '@/utils/http/request';
import type { AxiosRequestConfig } from 'axios';
import type { RequestOptions as RequestOptionsType } from '/#/axios';
type RequestOptions = RequestOptionsType & AxiosRequestConfig;

import * as apis from './getroutersService';
import * as API from './types';

/** 获取路由信息 GET /getRouters https://apifox.com/web/project/3535734/apis/api-123324396-run */
export function getApiGetRoutersQueryOptions(options: { options?: RequestOptions }) {
  return queryOptions({
    queryFn: async ({ queryKey }) => {
      return apis.getApiGetRouters(queryKey[1] as typeof options);
    },
    queryKey: ['getApiGetRouters', options],
  });
}
